﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompetDetail.aspx.cs" Inherits="PCCS.Management.AdminManage.CompetDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            font-size: 12px;
            font-family: Arial;
            background-color: #EEF2FB;
        }
    </style>
    <link href="../images/skin.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript">
        function CheckAll(form) {
            var box = document.getElementById("box").getElementsByTagName("input")
            for (var i = 0; i < box.length; i++) {
                var e = box[i];
                if (e.Name != 'chkAll' && e.disabled == false)
                    e.checked = form.chkAll.checked;
            }
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="box">

        <script language="javascript" type="text/javascript">
            function CheckAll(paramId) {
                var items = document.getElementsByTagName("input");
                for (i = 0; i < items.length; i++) {
                    var e = items[i];
                    var eId = e.id; //获得当前控件元素的Id
                    var m = eId.indexOf('_chk');
                    var n = paramId.indexOf('_chk');
                    //判断控件类型是否是checkbox,父子节点Id是否匹配,以控制只选中该父节点对应的子节点	
                    if (eId.substring(0, m) == paramId.substring(0, n) && e.type == 'checkbox') {
                        e.checked = document.getElementById(paramId).checked;
                    }
                }
            }
            function CheckOnly(paramId) {
                var items = document.getElementsByTagName("input");
                for (i = 0; i < items.length; i++) {
                    var e = items[i];
                    var eId = e.id;
                    var m = eId.indexOf('_chk');
                    var n = paramId.indexOf('_chk');
                    //判断控件类型是否是checkbox,父子节点Id是否匹配,以控制只选中该子节点对应的父节点
                    if (eId.substring(0, m) == paramId.substring(0, n) && e.type == 'checkbox') {
                        if (eId.indexOf('chkParentMenu') != -1) { document.getElementById(eId).checked = true; }
                    }
                }
            }
        </script>

        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="17" valign="top" style="background: url(../images/mail_leftbg.gif)">
                    <img alt="" src="../images/left-top-right.gif" width="17" height="29" />
                </td>
                <td valign="top" style="background: url(../images/content-bg.gif)">
                    <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg"
                        id="table2">
                        <tr>
                            <td height="31">
                                <div class="titlebt">
                                    &nbsp;&nbsp;权限管理</div>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="16" valign="top" style="background: url(../images/mail_rightbg.gif)">
                    <img alt="" src="../images/nav-right-bg.gif" width="16" height="29" />
                </td>
            </tr>
            <tr>
                <td valign="middle" style="background: url(../images/mail_leftbg.gif)">
                    &nbsp;
                </td>
                <td valign="top" bgcolor="#F7F8F9">
                    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td class="left_txt">
                                            当前位置：管理员&nbsp;>&nbsp;权限管理
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20">
                                            <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                                                <tr>
                                                    <td>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td width="10%" height="55" valign="middle">
                                                        <img alt="" src="../images/title.gif" width="54" height="55" />
                                                    </td>
                                                    <td width="90%" valign="top">
                                                        <span class="left_txt2">在这里，您可以根据您的要求，找到相应的</span><span class="left_txt3">管理员</span><span
                                                            class="left_txt2">。</span><br />
                                                        <span class="left_txt2">点击</span><span class="left_txt3">可修改其管理的权限</span><span class="left_txt2">。</span>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                                                <tr>
                                                    <td class="left_bt2">
                                                        &nbsp;&nbsp;&nbsp;&nbsp;权限管理
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">
                                                        管理员：
                                                    </td>
                                                    <td width="3%" bgcolor="#f2f2f2">
                                                        &nbsp;
                                                    </td>
                                                    <td colspan="2" height="30" bgcolor="#f2f2f2">
                                                        <asp:Label ID="lblAdminName" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%" height="30" align="right" class="left_txt2">
                                                        描述：
                                                    </td>
                                                    <td width="3%">
                                                        &nbsp;
                                                    </td>
                                                    <td colspan="2" height="30">
                                                        <asp:Label ID="lblAdminDesc" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">
                                                        管理员的权限：
                                                    </td>
                                                    <td bgcolor="#f2f2f2">
                                                        &nbsp;
                                                    </td>
                                                    <td colspan="2" bgcolor="#f2f2f2" class="left_txt">
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="30" align="right" class="left_txt2">
                                                    </td>
                                                    <td>
                                                        &nbsp;
                                                    </td>
                                                    <td colspan="2" class="left_txt">
                                                        <asp:PlaceHolder ID="phRoleDistribute" runat="server"></asp:PlaceHolder>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        &nbsp;
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" width="50%" height="30" align="right">
                                                        &nbsp;
                                                    </td>
                                                    <td width="16%" height="30" align="left">
                                                        <asp:Button ID="btnSubmit" runat="server" Text="完成以上修改" OnClick="btnSubmit_Click" />
                                                    </td>
                                                    <td height="30">
                                                        <asp:Button ID="btnReturn" runat="server" Text="返  回" OnClick="btnReturn_Click" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        &nbsp;
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="background: url(../images/mail_rightbg.gif)">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td valign="bottom">
                    <img alt="" src="../images/buttom_left2.gif" width="17" height="17" />
                </td>
                <td style="background: url(../images/buttom_bgs.gif)">
                    <img alt="" src="../images/buttom_bgs.gif" width="17" height="17" />
                </td>
                <td valign="bottom">
                    <img alt="" src="../images/buttom_right2.gif" width="16" height="17" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
